/*
 * Name     : PacketAction.java
 * Author(s): Jill San Luis
 * Created  : Mar 14, 2011, 3:03:54 PM
 */
package mazewar.packet;

/**
 * The PacketAction enum
 *
 * @author  Jill San Luis
 */
public enum PacketAction {

    JOIN(1),

    LEFT(2),

    RIGHT(3),

    UP(4),

    DOWN(5),

    FIRE(6),
    
    QUIT(7);

   private int action;
    /**
     * Creates a new instance of PacketAction.
     */
    private PacketAction(int action) {
        this.action = action;
    }

    public int getAction(){
        return action;
    }

 }
